package com.example.yichuangyun.model.order;

import java.io.Serializable;
import java.util.List;

public class OrderListDataModel {
    private List<OrderRecordsModel> records;
    private int count;

    public List<OrderRecordsModel> getRecords() {
        return records;
    }

    public void setRecords(List<OrderRecordsModel> records) {
        this.records = records;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public static class OrderRecordsModel implements Serializable {
        private String id;
        /**
         * 订单号
         */
        private String orderNo;
        /**
         * 商机id
         */
        private String businessId;
        /**
         * 业务类型：1企业、2个人
         */
        private int serviceCategory;
        /**
         * 联系人
         */
        private String username;
        /**
         * 电话号码
         */
        private String phone;
        /**
         * 产品信息
         */
        private String productName;
        /**
         * 关联企业
         */
        private String compName;
        /**
         * 企业信用代码
         */
        private String creditNo;
        /**
         * 签单人
         */
        private String xiaosrName;
        /**
         * 维护人
         */
        private String promotionName;
        /**
         * 签单时间
         */
        private String signDate;
        /**
         * 服务完成时间
         */
        private String finishedTime;

        /**
         * 订单状态 -1已删除、0待激活、1服务中、2服务完成、3已关闭
         */
        private Integer orderStatus;
        /**
         * 订单类型 0新签、1续费
         */
        private int renewalState;
        /**
         * 0线上、1线下
         */
        private int source;

        /**
         * 企业确认状态
         */
        private int enterConfirmState;
        /**
         * 应收额
         */
        private double price;
        /**
         * 实收额
         */
        private double payedPrice;
        /**
         * 款项确认状态 0未确认 1已确认
         */
        private int moneyConfirmStatus;
        /**
         * 所属园区
         */
        private String parkName;
        private AttachModel attach;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public int getServiceCategory() {
            return serviceCategory;
        }

        public void setServiceCategory(int serviceCategory) {
            this.serviceCategory = serviceCategory;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getCompName() {
            return compName;
        }

        public void setCompName(String compName) {
            this.compName = compName;
        }

        public String getCreditNo() {
            return creditNo;
        }

        public void setCreditNo(String creditNo) {
            this.creditNo = creditNo;
        }

        public String getXiaosrName() {
            return xiaosrName;
        }

        public void setXiaosrName(String xiaosrName) {
            this.xiaosrName = xiaosrName;
        }

        public String getPromotionName() {
            return promotionName;
        }

        public void setPromotionName(String promotionName) {
            this.promotionName = promotionName;
        }

        public String getSignDate() {
            return signDate;
        }

        public void setSignDate(String signDate) {
            this.signDate = signDate;
        }

        public Integer getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(Integer orderStatus) {
            this.orderStatus = orderStatus;
        }

        public int getRenewalState() {
            return renewalState;
        }

        public void setRenewalState(int renewalState) {
            this.renewalState = renewalState;
        }

        public int getSource() {
            return source;
        }

        public void setSource(int source) {
            this.source = source;
        }

        public String getFinishedTime() {
            return finishedTime;
        }

        public void setFinishedTime(String finishedTime) {
            this.finishedTime = finishedTime;
        }

        public int getEnterConfirmState() {
            return enterConfirmState;
        }

        public void setEnterConfirmState(int enterConfirmState) {
            this.enterConfirmState = enterConfirmState;
        }

        public String getBusinessId() {
            return businessId;
        }

        public void setBusinessId(String businessId) {
            this.businessId = businessId;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getPayedPrice() {
            return payedPrice;
        }

        public void setPayedPrice(double payedPrice) {
            this.payedPrice = payedPrice;
        }

        public int getMoneyConfirmStatus() {
            return moneyConfirmStatus;
        }

        public void setMoneyConfirmStatus(int moneyConfirmStatus) {
            this.moneyConfirmStatus = moneyConfirmStatus;
        }

        public String getParkName() {
            return parkName;
        }

        public void setParkName(String parkName) {
            this.parkName = parkName;
        }

        public AttachModel getAttach() {
            return attach;
        }

        public void setAttach(AttachModel attach) {
            this.attach = attach;
        }
    }

    public static class AttachModel implements Serializable{
        private String cancelAmount;

        public String getCancelAmount() {
            return cancelAmount;
        }

        public void setCancelAmount(String cancelAmount) {
            this.cancelAmount = cancelAmount;
        }
    }
}
